﻿using System;

namespace Matrix.MaKaYunShang.Model
{
	/// <summary>
	///Consumer
	/// </summary>
	public class Consumer
	{
        #region 默认属性
        /// <summary>
        /// 消费者ID
        /// </summary>		
        public int Id { get; set; }
        /// <summary>
        /// 码云卡云中心微信用户公众号绑定记录ID
        /// </summary>		
        public int MxWechatInfoUserId { get; set; }
        /// <summary>
        /// MatrixCloudProjectInfo表ID
        /// </summary>		
        public int MxProjectInfoId { get; set; }
        /// <summary>
        /// 头像
        /// </summary>		
        public string Avatar { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>		
        public string NickName { get; set; }
        /// <summary>
        /// 真实姓名
        /// </summary>		
        public string RealName { get; set; }
        /// <summary>
        /// 手机号码
        /// </summary>		
        public string Mobile { get; set; }
        /// <summary>
        /// 电子邮箱
        /// </summary>		
        public string Email { get; set; }
        /// <summary>
        /// 性别
        /// </summary>		
        public int Sex { get; set; }
        /// <summary>
        /// 生日
        /// </summary>		
        public DateTime Birth { get; set; }
        /// <summary>
        /// 注册时间
        /// </summary>		
        public DateTime RegTime { get; set; }
        /// <summary>
        /// 注册IP
        /// </summary>		
        public string IpAddress { get; set; }
        /// <summary>
        /// 经度
        /// </summary>		
        public string Longitude { get; set; }
        /// <summary>
        /// 纬度
        /// </summary>		
        public string Latitude { get; set; }
        /// <summary>
        /// 所属店铺ID
        /// </summary>		
        public int ShopId { get; set; }
        /// <summary>
        /// 绑定商家用户ID
        /// </summary>		
        public int ShopAccountId { get; set; }
        /// <summary>
        /// 是否删除 0 不删除 1 删除
        /// </summary>		
        public bool IsDelete { get; set; }
        #endregion
		
		#region 扩展属性
        /// <summary>
        /// 优惠券数量
        /// </summary>
        public int CouponCount { get; set; }
        /// <summary>
        /// 是否关注
        /// </summary>
        public int Subscribe { get; set; }
        public string OpenId { get; set; }

	    public string WeChatAccount { get; set; }

        /// <summary>
        /// 会员卡cardId
        /// </summary>
        public string MemberCardId { get; set; }
        /// <summary>
        /// 会员卡code
        /// </summary>
        public string MemberCardCode { get; set; }
	    #endregion
	}
}